package negModelExcep;

public class eArgumentoNoEsUnaParte extends RuntimeException {

	
	private static final long serialVersionUID = 1L;
	private String s;
	
	public eArgumentoNoEsUnaParte(){
		this.s = new String("El argumento pasado no es un objeto de clase Parte");
	}
	
	public eArgumentoNoEsUnaParte(String s){
		this.s=s;
	}
	
	public String obtenerInfo(){
		return s;
	}

}
